import { uploadType } from '@/utils/util'
export const detailConfig: any = {
	inline: false,
	labelPosition: 'left',
	labelWidth: '170px',
	column: [
		// 街道（乡）初审情况
		{
			type: 'DividerHtml',
			modelValue: '街道（乡）初审情况',
			span: 24,
		},
		{
			label: '申请人（姓名）',
			prop: 'firstApplicantName',
			span: 8,
		},
		{
			label: '有关材料反映情况',
			prop: 'firstMaterialTruth',
			propName:'firstMaterialTruthLabel',
			code:'MATERIAL_TRUTH_TYPE',
			api:'getDictItemList',
			type:'remoteSelect',
			span: 8,
		},
		{
			label: '生活自理能力状况',
			prop: 'firstAbilityStatus',
			propName:'firstAbilityStatusLabel',
			code:'ABILITY_STATUS',
			api:'getDictItemList',
			type:'remoteSelect',
			span: 8,
		},
		{
			label: '经办人',
			prop: 'firstOperatorName',
			span: 8,
		},
		{
			label: '初审日期',
			prop: 'firstDate',
			span: 8,
		},
		// 社会评估机构评估结论
		{
			type: 'DividerHtml',
			modelValue: '社会评估机构评估结论',
			span: 24,
		},
		{
			label: '申请人（姓名）',
			prop: 'estimateApplicantName',
			span: 8,
		},
		{
			label: '生活自理能力状况',
			prop: 'estimateAbilityLevel',
			propName:"estimateAbilityLevelLabel",
			code:'ABILITY_LEVEL_CITY_STANDARD',
			api:'getDictItemList',
			type:'remoteSelect',
			span: 8
		},
		{
			label: '评估人',
			prop: 'evaluatorName',
			span: 8,
		},
		{
			label: '评估日期',
			prop: 'estimateDate',
			span: 8,
		},
		// 社会公示情况
		{
			type: 'DividerHtml',
			modelValue: '社会公示情况',
			span: 24,
		},
		{
			label: '社会公示情况',
			prop: 'demurStatus',
			propName:'demurStatusLabel',
			code:'DEMUR_STATUS',
			api:'getDictItemList',
			type:'remoteSelect',
			span: 8,
		},
		{
			label: '社会公示情况说明',
			prop: 'publicityNote',
			span: 8,
		},
		// 社会公示情况
		{
			type: 'DividerHtml',
			modelValue: '区民政局核准意见',
			span: 24,
		},
		{
			label: '申请人（姓名）',
			prop: 'civilApplicantName',
			span: 8,
		},
		{
			label: '什么时间入住养老机构期间享受补贴',
			prop: 'civilCheckinRangeDate',
			labelWidth: '300px',
			span: 8,
		},
		{
			label: '不符合南京市困难老人入住养老机构补助条件理由',
			labelWidth: '400px',
			prop: 'civilUnconformityReason',
			span: 8,
		},
		{
			label: '经办人',
			prop: 'civilOperatorName',
			span: 8,
		},
		{
			label: '核准日期',
			prop: 'civilApprovalDate',
			span: 8,
		},
		// 补助核准备注
		{
			type: 'DividerHtml',
			modelValue: '补助核准备注',
			span: 8,
		},
		{
			label: '停止享受补助时间',
			prop: 'stopSubsidyDate',
			span: 8,
		},
		{
			label: '停止享受补助原因',
			prop: 'stopSubsidyReason',
			span: 8,
		},
		{
			label: '停止享受补助其他原因',
			prop: 'stopSubsidyOtherReason',
			span: 8,
		},
		{
			label: '经办人',
			prop: 'civilOperatorName',
			span: 8,
		},
		{
			label: '补助核准备注日期',
			prop: 'stopSubsidyApprovalDate',
			span: 8,
		},
		// 申请材料
		{
			type: 'DividerHtml',
			modelValue: '申请材料',
			span: 24,
		},
		{
			label: '“五类老人”入住养老机构补贴申请表',
			prop: 'applyMaterial',
			type: 'upload',
			fileType: uploadType.fileMetaType,
			listType: 'text',
			labelPosition: 'top',
			labelWidth:500,
			showFileList: true,
			limit: 9,
			multiple: true,
			span: 8,
		},
		// 审批结果
		{
			type: 'DividerHtml',
			modelValue: '审批结果',
			span: 24,
		},
		{
			label: '审批结果',
			prop: 'approvalResult',
			propName:'approvalResultLabel',
			code:'RESULT',
			api:'getDictItemList',
			type:'remoteSelect',
			span: 8,
		},
		{
			label: '审批人',
			prop: 'approvalUserName',
			span: 8,
		},
		{
			label: '审批时间',
			prop: 'approvalTime',
			span: 8,
		},
		{
			label: '补贴发放总金额',
			prop: 'grantAmount',
			span: 8,
		},
		{
			label: '补贴发放时间',
			prop: 'grantDate',
			span: 8,
		},
	],
}
